export const routes = [
  {
    path: '/',
    component: () => import("@/views/layout/index.vue"),
    redirect: '/index',
    children: [
      {
        path: 'index',
        component: () => import("@/views/index/index.vue"),
        meta: {
          title: "首页"
        }
      },
      {
        path: 'recreation',
        component: () => import("@/views/recreation/index.vue"),
        meta: {
          title: "娱乐"
        }
      },
      {
        path: 'my',
        component: () => import("@/views/my/index.vue"),
        meta: {
          title: "我的"
        }
      },
    ]
  },
  {
    path: "/login",
    component: () => import("@/views/login/index.vue"),
    meta: {
      title: "登录"
    }
  },
  {
    path: "/test",
    component: () => import("@/views/test/index.vue"),
    meta: {
      title: "测试"
    }
  }
]